
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>如何导入 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="init.html" />
    
    
    <link rel="prev" href="../" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.2" data-path="import.html">
            
                <a href="import.html">
            
                    
                    如何导入
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="init.html">
            
                <a href="init.html">
            
                    
                    初始化和销毁
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="switch.html">
            
                <a href="switch.html">
            
                    
                    开关设置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="others.html">
            
                <a href="others.html">
            
                    
                    其他方法
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >如何导入</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x652F;&#x6301;&#x8BED;&#x8A00;">&#x652F;&#x6301;&#x8BED;&#x8A00;</h1>
<p>&#x652F;&#x6301;Kotlin&#x548C;Java</p>
<p>&#x4E3B;&#x8981;&#x8C03;&#x7528;&#x7684;&#x7C7B;&#x4E3A;QNScaleApi&#xFF0C;&#x5728;Kotlin&#x4E2D;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x8C03;&#x7528;&#x6B64;&#x7C7B;&#xFF0C;&#x5728;Java&#x4E2D;&#x5219;&#x901A;&#x8FC7;&#x5F62;&#x5982;&#x4E0B;&#x4EE3;&#x7801;&#x8C03;&#x7528;</p>
<pre><code>QNScaleApi.INSTANCE.destroy();
</code></pre><hr>
<h1 id="&#x5982;&#x4F55;&#x5BFC;&#x5165;">&#x5982;&#x4F55;&#x5BFC;&#x5165;</h1>
<p>&#x5728;Project&#x7684;build.gradle&#x4E2D;&#x5F15;&#x7528;&#x76EE;&#x524D;&#x53D1;&#x5E03;SDK&#x7684;&#x4ED3;&#x5E93;</p>
<pre><code>allprojects {
    repositories {
        maven { url &apos;https://jitpack.io&apos; }
        maven { url &apos;https://gitee.com/MadHat/mavenRepo/raw/master&apos;}
        google()
        jcenter()
    }
}
</code></pre><p>&#x7136;&#x540E;&#x5728;app&#x7684;module&#x7684;build.gradle&#x4E2D;&#x58F0;&#x660E;&#x4F9D;&#x8D56;</p>
<pre><code>implementation &apos;com.qingniu:sharescalesdk:0.9.5&apos;
</code></pre>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../" class="navigation navigation-prev " aria-label="Previous page: 简介">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="init.html" class="navigation navigation-next " aria-label="Next page: 初始化和销毁">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"如何导入","level":"1.2","depth":1,"next":{"title":"初始化和销毁","level":"1.3","depth":1,"path":"component/init.md","ref":"component/init.md","articles":[]},"previous":{"title":"简介","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"component/import.md","mtime":"2020-05-08T02:33:58.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-11-23T09:04:17.579Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

